using System;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;

namespace Kayac.HyperCasual
{
	public class PurchaseButton : MonoBehaviour, IPointerDownHandler, IEventSystemHandler, IPointerUpHandler, IPointerClickHandler, IBeginDragHandler, IDragHandler, IEndDragHandler
	{
		[SerializeField]
		private string soundName;

		[SerializeField]
		private Color inactiveColorTint;

		[SerializeField]
		private Image baseImage;

		[SerializeField]
		private Image loadingIcon;

		[SerializeField]
		private Text priceText;

		[SerializeField]
		private bool useClick;

		private bool loading;

		private bool dragging;

		private Action<int> onFire;

		private Action<PointerEventData> onBeginDrag;

		private Action<PointerEventData> onEndDrag;

		private Store store;

		private Color originalBaseColor;


		public bool Pressed { get; private set; }

		public string Id { get; private set; }

		public int Index { get; private set; }

		public void ManualStart(Action<int> onFire, Store store, string id, int index)
		{
		}

		public void EnableClick(Action<PointerEventData> onBeginDrag, Action<PointerEventData> onEndDrag)
		{
		}

		public void ManualUpdate(float deltaTime)
		{
		}

		public void Reset()
		{
		}

		public void OnPointerDown(PointerEventData eventData)
		{
		}

		public void OnPointerUp(PointerEventData eventData)
		{
		}

		public void OnPointerClick(PointerEventData eventData)
		{
		}

		public void OnBeginDrag(PointerEventData eventData)
		{
		}

		public void OnDrag(PointerEventData eventData)
		{
		}

		public void OnEndDrag(PointerEventData eventData)
		{
		}

		private void Fire()
		{
		}
	}
}
